package ru.iasokolov.demo.entity

import jakarta.persistence.Id
import jakarta.persistence.MappedSuperclass
import java.io.Serializable
import java.time.LocalDate
import java.util.UUID

@MappedSuperclass
open class AbstractBaseEntity(
    @Id
    var id: UUID,
    var startDate: LocalDate,
    var endDate: LocalDate,
    var deleted: Boolean,
    var dataType: String,
) : Serializable